package com.bro.person.admin.model;

import java.io.Serializable;
import java.util.Date;

public class AdminUser implements Serializable {
    /**
     * 
     * 表字段 : admin_user.id
     */
    private Integer id;

    /**
     * 
     * 表字段 : admin_user.username
     */
    private String username;

    /**
     * 
     * 表字段 : admin_user.nickname
     */
    private String nickname;

    /**
     * 
     * 表字段 : admin_user.password
     */
    private String password;

    /**
     * 
     * 表字段 : admin_user.user_type
     */
    private Short userType;

    /**
     * 父账户id，用于代理账户
     * 表字段 : admin_user.primary_account_id
     */
    private Integer primaryAccountId;

    /**
     * 0:禁用,1:启用
     * 表字段 : admin_user.status
     */
    private Short status;

    /**
     * 
     * 表字段 : admin_user.create_time
     */
    private Date createTime;

    /**
     * 
     * 表字段 : admin_user.update_time
     */
    private Date updateTime;

    /**
     * 
     * 表字段 : admin_user.last_login_time
     */
    private Date lastLoginTime;

    /**
     * 账号创建者id
     * 表字段 : admin_user.creator_id
     */
    private Integer creatorId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table admin_user
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 获取  字段:admin_user.id
     *
     * @return admin_user.id, 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置  字段:admin_user.id
     *
     * @param id the value for admin_user.id, 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取  字段:admin_user.username
     *
     * @return admin_user.username, 
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置  字段:admin_user.username
     *
     * @param username the value for admin_user.username, 
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取  字段:admin_user.nickname
     *
     * @return admin_user.nickname, 
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置  字段:admin_user.nickname
     *
     * @param nickname the value for admin_user.nickname, 
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * 获取  字段:admin_user.password
     *
     * @return admin_user.password, 
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置  字段:admin_user.password
     *
     * @param password the value for admin_user.password, 
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取  字段:admin_user.user_type
     *
     * @return admin_user.user_type, 
     */
    public Short getUserType() {
        return userType;
    }

    /**
     * 设置  字段:admin_user.user_type
     *
     * @param userType the value for admin_user.user_type, 
     */
    public void setUserType(Short userType) {
        this.userType = userType;
    }

    /**
     * 获取 父账户id，用于代理账户 字段:admin_user.primary_account_id
     *
     * @return admin_user.primary_account_id, 父账户id，用于代理账户
     */
    public Integer getPrimaryAccountId() {
        return primaryAccountId;
    }

    /**
     * 设置 父账户id，用于代理账户 字段:admin_user.primary_account_id
     *
     * @param primaryAccountId the value for admin_user.primary_account_id, 父账户id，用于代理账户
     */
    public void setPrimaryAccountId(Integer primaryAccountId) {
        this.primaryAccountId = primaryAccountId;
    }

    /**
     * 获取 0:禁用,1:启用 字段:admin_user.status
     *
     * @return admin_user.status, 0:禁用,1:启用
     */
    public Short getStatus() {
        return status;
    }

    /**
     * 设置 0:禁用,1:启用 字段:admin_user.status
     *
     * @param status the value for admin_user.status, 0:禁用,1:启用
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * 获取  字段:admin_user.create_time
     *
     * @return admin_user.create_time, 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置  字段:admin_user.create_time
     *
     * @param createTime the value for admin_user.create_time, 
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取  字段:admin_user.update_time
     *
     * @return admin_user.update_time, 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置  字段:admin_user.update_time
     *
     * @param updateTime the value for admin_user.update_time, 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取  字段:admin_user.last_login_time
     *
     * @return admin_user.last_login_time, 
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * 设置  字段:admin_user.last_login_time
     *
     * @param lastLoginTime the value for admin_user.last_login_time, 
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * 获取 账号创建者id 字段:admin_user.creator_id
     *
     * @return admin_user.creator_id, 账号创建者id
     */
    public Integer getCreatorId() {
        return creatorId;
    }

    /**
     * 设置 账号创建者id 字段:admin_user.creator_id
     *
     * @param creatorId the value for admin_user.creator_id, 账号创建者id
     */
    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }
}